﻿using EMC.VISITOR.Application;
using EMC.VISITOR.Core;
using Furion.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EMC.VISITOR.ApplicationExtend.VisitorFlow
{
    public interface IVistorManage: ITransient
    {
        /// <summary>
        /// 发送验证码给访客
        /// </summary>
        /// <returns></returns>
        Task<JRResult<bool>> SendCheckCodePhoneMessage(string phone, string code, string content, int minute );

        /// <summary>
        /// 访客提交表单验证访客手机验证码是否正确
        /// </summary>
        /// <returns></returns>
        Task<JRResult<bool>> CheckVIstorCode(AddVisitLogInput visit);

        /// <summary>
        /// 验证访客身份证信息是否为真实身份证
        /// </summary>
        /// <param name="visit"></param>
        /// <returns></returns>
        Task<JRResult<bool>> CheckVisitIDCard(AddVisitLogInput visit);
    }
}
